package com.wwm.petadopt;

import org.json.JSONObject;

/**
 * Created by maaibin on 2015/5/26.
 */
public class UserInfo {
public String userName;
public String gender;
public String bloodtype;
public String constellation;
public String shortmessage;
public String e_mail;


    public UserInfo(JSONObject response){
        try {
            this.userName = response.getString("UserName");
            this.bloodtype = "血型："+response.getString("BloodType");
            this.e_mail = "邮箱："+response.getString("Email");
            this.gender ="性别："+ response.getString("gender");
            this.shortmessage ="个性签名："+ response.getString("ShortMsg");
            this.constellation = "星座："+response.getString("Constellation");

        }
        catch(Exception e)
        {}

    }
}